package com.seaengine.valueobject
{
	

	/**
	 * 基本道具 
	 * @author Administrator
	 * 
	 */
	public class BaseItemVo extends BaseVo
	{
		//对象ID
		public var objectId:int;
		//Item
		public var itemId:int;
		/**物品大类型*/
		public var category:uint;
		//类型
		public var type:int;
		//装备位置
		public var continerType:String = "";
		//名称
		public var name:String;
		//描述
		public var descrip:String;
		//图标地址
		public var icon:int;
		//等级
		public var useLevel:int;
		//品质
		public var quality:int;
		//押镖显示标记
		public var trackDisplay:uint;
		
		public var itemLevel:int;
		
		/**门派类型*/
		public var party:uint;
		/**人物属性*/
		public var propType:uint;
		/**物品数量 数量有时会为-1,此时下发的减少的数量*/
		public var count:int = 1;
		//商店出售价格
		public var sellPrice:Number;
		//商店回收价格
		public var buyPrice:Number;
		//绑定状态-0不绑定，1拾取绑定，2使用绑定
		public var bindState:int = 0;
		//过期类型-0永久有效，1拾取后倒计时，2使用后倒计时
		public var expiredType:int;
		//过期时间
		public var expiration:int;
		
		//基础属性
		public var basicAtt1_id:int;
		public var basicAtt1:int;
		public var basicAtt2_id:int;
		public var basicAtt2:int;
		public var basicAtt3_id:int;
		public var basicAtt3:int;
		
		//拓展属性
		public var att1_id:int;
		public var att1:int;
		public var att2_id:int;
		public var att2:int;
		public var att3_id:int;
		public var att3:int;
		public var att4_id:int;
		public var att4:int;
		public var att5_id:int;
		public var att5:int;
		public var att6_id:int;
		public var att6:int;
		public var att7_id:int;
		public var att7:int;
		public var att8_id:int;
		public var att8:int;
		public var att9_id:int;
		public var att9:int;
		public var att10_id:int;
		public var att10:int;
		
		//tooltips描述
		public var tooltips:Object;
		
		public var attribs:uint;/**一些附加属性，按位存储的*/
		public var refiningRule:uint;/**精炼规则-装备*/
		public var refining:uint;/**精炼道具*/
		public var gemHoles:uint;/**孔上限*/
		public var enhancementRule:uint;/**可强化规则最大ID*/
		public var compositions:Array;/**合成规则*/
		
		/**堆叠数*/
		public var capacity:uint;
		
		/**
		 * 是否可堆叠
		 * @return 
		 * 
		 */		
		public function canPile():Boolean
		{
			return capacity > 1;
		}
	}
}